package com.ruoyi.training.mapper;

import java.util.List;
import com.ruoyi.training.domain.NoticeReceive;
import com.ruoyi.training.dto.NoticeReceiveDto;
import org.apache.ibatis.annotations.Param;

/**
 * 通知接收Mapper接口
 *
 * @author lqx
 * @date 2025-10-24
 */
public interface NoticeReceiveMapper
{
    /**
     * 查询通知接收
     *
     * @param noticeReceiveId 通知接收主键
     * @return 通知接收
     */
    public NoticeReceive selectNoticeReceiveByNoticeReceiveId(String noticeReceiveId);

    /**
     * 查询通知接收列表
     *
     * @param noticeReceive 通知接收
     * @return 通知接收集合
     */
    public List<NoticeReceive> selectNoticeReceiveList(NoticeReceive noticeReceive);

    /**
     * 新增通知接收
     *
     * @param noticeReceive 通知接收
     * @return 结果
     */
    public int insertNoticeReceive(NoticeReceive noticeReceive);

    /**
     * 修改通知接收
     *
     * @param noticeReceive 通知接收
     * @return 结果
     */
    public int updateNoticeReceive(NoticeReceive noticeReceive);

    /**
     * 删除通知接收
     *
     * @param noticeReceiveId 通知接收主键
     * @return 结果
     */
    public int deleteNoticeReceiveByNoticeReceiveId(String noticeReceiveId);

    /**
     * 批量删除通知接收
     *
     * @param noticeReceiveIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNoticeReceiveByNoticeReceiveIds(String[] noticeReceiveIds);

    /**
     * 批量新增
     * */
    public int batchInsertnoticeReceive(@Param("noticeReceiveList")List<NoticeReceive> noticeReceiveList);

    /**
     * 学员查询门户班级通知接收列表
     * lqx
     */
    public List<NoticeReceiveDto> selectNoticeReceiveListByStudentIdAndClassId(NoticeReceive noticeReceive);
}
